<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
                <title>填写订单-{:C('site.sitename')}</title>
                <link href="__TOURS__/css/style.css" rel="stylesheet" type="text/css" />
                <link href="__TOURS__/css/linebook.css" rel="stylesheet" type="text/css" />
                <script src="__TOURS__/js/jquery-1.7.2.min.js" type="text/javascript"></script>
                <script type="text/javascript">
                        document.domain = "{:C('site.sitedomain')}";
                </script>
        </head>
        <body>
                {include file="public/header" /}
                {switch name='_GET.step'}
                {case value='1'}
                <!--主体部分-->
                <div class="bookbox">
                        <div class="booktit">
                                <h2>您预订的产品</h2>
                        </div>
                        <!--左部表单部分-->
                        <div class="bookform">
                                <form action="" method="post" autocomplete="off" id="orderform">
                                        <input type="hidden" name="tours_id" value="{$line.id}" />
                                        <input type="hidden" name="price_id" value="{$line.price_id|default='0'}" />
                                        <input type="hidden" name="supplier_id" value="{$line.supplier_id}" />
                                        <input type="hidden" name="insure_id" value="{$line.insure_id}" />
                                        <input type="hidden" name="go_date" value="{$ordertime}" />
                                        <input type="hidden" name="adult_price" value="{$price[0]['adult']}" />
                                        <input type="hidden" name="child_price" value="{$price[0]['child']}" />
                                        <input type="hidden" name="insure_price" value="{$line.insure_price}" />
                                        <!--产品信息-->
                                        <div class="bookline">
                                                <div class="pic"><a href="{$line.url}"><img src="{$line.images_full}" /></a></div>
                                                <div class="txt"><a href="{$line.url}">{$line.title}</a></div>
                                        </div>
                                        <!--表单开始-->
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabbox">
                                                <tr>
                                                        <th width="15%">产品类型</th>
                                                        <th width="20%">行程天数</th>
                                                        <th width="20%">出发城市</th>
                                                        <th width="20%">出发时间</th>							
                                                        <th width="25%">出游人数</th>
                                                </tr>
                                                <tr>
                                                        <td>{$line.type_name}</td>
                                                        <td>{$line.trip_days}</td>
                                                        <td>{$line.from_zone}</td>
                                                        <td>{$ordertime}</td>
                                                        <td class="num">
                                                                <p class="topnum">
                                                                        <label>成人：</label>
                                                                        <a href="javascript:;" class="jian">-</a>
                                                                        <input class="peopleinput" value="{$adults|default='1'}"  name="adult" id="adult" maxlength="2" type="text" />
                                                                        <a href="javascript:;" class="jia on_bg">+</a>
                                                                </p>
                                                                <p class="botnum">
                                                                        <label>儿童：</label>
                                                                        <a href="javascript:;" class="jian">-</a>
                                                                        <input class="peopleinput" value="{$childs|default='0'}" name="child" id="child" maxlength="2" type="text" />
                                                                        <a href="javascript:;" class="jia on_bg">+</a>
                                                                </p>
                                                        </td>
                                                </tr>
                                        </table>
                                        <input class="peopleinput" value="0" name="insure_num" id="insure_num" maxlength="2" type="hidden" />
                                        <!--保险信息-->
                                        <!--<div class="bookline">
                                                <div class="pic"><img src="__TOURS__/images/baoxian.png" /></div>
                                                <div class="txt">保险信息</div>
                                        </div>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabbox">
                                                <tr>
                                                        <th width="35%" class="txtlt">保险名称</th>							
                                                        <th width="20%">有效期</th>
                                                        <th width="20%">保险价格</th>
                                                        <th width="25%">投保份数</th>							
                                                </tr>
                                                <tr>
                                                        <td class="txtlt heigt">{$line.insure_name}</td>
                                                        <td class="heigt">{$line.insure_deadline}</td>
                                                        <td class="heigt">{$line.insure_price}</td>							
                                                        <td class='insure heigt'>
                                                                <label>保险：</label>
                                                                <a href="javascript:;" class="jian">-</a>
                                                                <input class="peopleinput" value="0" name="insure_num" id="insure_num" maxlength="2" type="text" />
                                                                <a href="javascript:;" class="jia on_bg">+</a>
                                                        </td>							
                                                </tr>
                                                <tr>
                                                        <td colspan="4" class="zkDesc"><span class="zk_down">保险详情(点击查看或隐藏)</span></td>
                                                </tr>
                                                <tr>
                                                        <td colspan="4" class="InsureDesc disno">{$line.insure_desc}</td>
                                                </tr>
                                        </table>
                                        -->
                                        <!--预定人信息-->
                                        <ul class="formbox">
                                                <li>
                                                        <label>联系人：</label>
                                                        <input type="text" class="dainput" id="linkname" name="linkname" maxlength="11" value="" />
                                                        <span class="info">*</span>
                                                </li>
                                                <li>
                                                        <label>手机号：</label>
                                                        <input type="text" class="dainput" id="mobile" name="mobile" maxlength="11" value="" />
                                                        <span class="info">*</span>
                                                </li>
                                                <li>
                                                        <label>特殊需求：</label>
                                                        <textarea class="obeitxt" id="demand" name="demand" maxlength="200"></textarea>
                                                        <span class="info"></span>
                                                </li>
                                                <li>
                                                        <label>验证码：</label>
                                                        <input name="verify" id="yzm" placeholder="输入右边字母" class="dainput" type="text" style="width:120px; margin-right: 0px;" maxlength="5"value="" autocomplete="off"/> 
                                                        <img src="{:U('Pub/verify')}" title="看不清，换一张?" alt="看不清，换一张" id="img1" onclick='javascript:this.src = "/Pub/verify?" + Math.random();' style="border:1px solid #DDD; margin-left: 0px; height: 34px; float: left;" />
                                                        <span class="info">*</span>
                                                </li>


                                                <li class="BTN_BOX">
                                                        <button type="button" id="orderBtn" class="orderBtn" style='display:block;'>提交订单</button>
                                                        <button type="button" id="orderBtn_no" class="orderBtn_no" style='display:none;'>提交订单</button>
                                                </li>
                                        </ul>
                                </form>

                                <!--旅游合同-->
                                <!--<div class="lvyouhetong">
                                        {$line.travelcontract}
                                </div>-->
                                <!--over-->
                        </div>
                        <!--over-->


                        <!--右部固定窗口 价格-->
                        <div class="subbox">
                                <div class="fixed" id="pordAttr">
                                        <h4>预订清单</h4>
                                        <div class="conbox">
                                                <h5>旅游团费</h5>
                                                <div class="price">
                                                        <span class="xm"><font class="blue"><em id="adultBox">1</em> 成人 × {$price[0]['adult']} 元</font></span>
                                                        <span class="xj"><font class="red f16"><em id="adultPrice">{$price[0]['adult']}</em> 元</font></span>
                                                </div>
                                                <div class="price">
                                                        <span class="xm"><font class="blue"><em id="childBox">0</em> 儿童 × {$price[0]['child']} 元</font></span>
                                                        <span class="xj"><font class="red f16"><em id="childPrice">0</em> 元</font></span>
                                                </div>

                                                <!--<h5>保险费用</h5>
                                                <div class="price">
                                                        <span class="xm"><font class="blue"><em id="insuerBox">0</em> 份 × {$line.insure_price} 元</font></span>
                                                        <span class="xj"><font class="red f16"><em id="insuerPrice">0</em> 元</font></span>
                                                </div>-->

                                                <h5>费用总计</h5>
                                                <div id="price_zj">¥ {$price[0]['adult']}</div>
                                        </div>
                                </div>
                        </div>
                        <!--代码over-->
                        <div class="clear"></div>
                </div>



                <script src="__TOURS__/js/order/book.js" type="text/javascript"></script>
                <script src="__TOURS__/js/order/widgetlogin.js" type="text/javascript"></script>




                <script type="text/javascript">
                                                                var Adult_price = "{$price[0]['adult']}";
                                                                var Child_price = "{$price[0]['child']}";
                                                                var Insuer_price = "{$line.insure_price}";
                </script>
                {/case}
                <!--第二部操作-->
                {case value="2"}
                <div class="orderWrap">
                        <div class="orderWrap_top">
                                <div class="order_photo">预订操作成功！</div>
                                <div class="order_texts">您的预订信息已经提交成功，我们会尽快与您联系！</div>
                        </div>
                        <div class="orderWrap_bot">
                                <div class="txt_lt">
                                        订单提交后如需修改订单（变更线路、日期、人数等），请致电{:C('site.sitetour')}免费客服电话：<font class="orange ver">{:C('site.telephone')}</font>
                                </div>
                                <div class="txt_rt">
                                        <p>您也可以去：</p>
                                        <p>
                                                |<a href="{:C('siteurl')}">网站首页</a>|
                                                <a href="{:U('/tours/user/index','','',false,true)}">个人中心</a>|
                                                <a href="{:U('/tours/user/orderline','','',false,true)}">查看订单</a>|
                                        </p>
                                </div>
                        </div>
                </div>
                {/case}


                {/switch}
                {include file="public/footer" /}
        </body>
</html>